Skip to main content
POST
[YT2] Generate YouTube Script

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
topic
string
required
video_format
enum<string>
default:tutorial
required
Available options:
tutorial,
listicle,
opinion,
case_study,
product_demo
target_length
enum<string>
default:medium
required
Available options:
short,
medium,
long
script_detail_level
enum<string>
default:full_script
required
Available options:
full_script,
talking_points
output_variable_name
string
default:youtube_script
required

Variable name for the result.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
angle_hook
string
target_audience
string
key_points
string
tone_of_voice
enum<string>
default:conversational
Available options:
conversational,
professional,
energetic,
friendly

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action